home *** CD-ROM | disk | FTP | other *** search
File List | 1994-04-12 | 2.1 KB | 69 lines |
- FORCHECK PC V11.10 MS5 compiler emulation 02-Feb-94 11:11:14 page: 1
- LOCALARG.FOR
-
-
- 1 c
- 2 c FORCHECK
- 3 c Local Verification of Arguments
- 4
- 5 INTEGER iar(10)
- 6
- 7 CALL sub1(i, j)
- 8 CALL sub1(i)
- SUB1
- **[274 E] number of arguments inconsistent with first occurrence
- 9 CALL sub1(r, 1)
- 10
- SUB1, argument no 1
- **[284 E] data type inconsistent with first occurrence (int/real)
- 11 CALL sub2(iar)
- 12 CALL sub2(i)
- SUB2, argument no 1
- **[294 E] array vs (scalar, expression, or constant) conflict
- 13 CALL sub2(1)
- 14
- SUB2, argument no 1
- **[294 E] array vs (scalar, expression, or constant) conflict
- 15 END
-
- FORCHECK PC V11.10 .MAIN. 02-Feb-94 11:11:14 page: 2
- LOCALARG.FOR
-
-
- ENTRY TYPE NARG LINE
-
- .MAIN. P
-
-
- VARIABLE TYPE RANK OPERATIONS LINES
-
- I I*4 S 7 8 12
- IAR I*4 1 S 5 11
- J I*4 S 7
- R R*4 S 9
-
-
- SUBPROGRAM TYPE NARG OPERATIONS LINES
-
- SUB1 S 2 7 8 9
- SUB2 S 1 11 12 13
-
- FORCHECK PC V11.10 MS5 compiler emulation 02-Feb-94 11:11:14 page: 3
-
-
- *END OF ANALYSIS*
-
- messages presented:
- 1x[274 E] number of arguments inconsistent with first occurrence
- 1x[284 E] data type inconsistent with first occurrence (int/real)
- 2x[294 E] array vs (scalar, expression, or constant) conflict
-
- number of error messages: 4
-
- total not-included
- number of noncomment source lines: 8 8
- number of nonempty comment lines: 2 2
- number of statements: 8 8
- number of subprograms: 1
- number of source files: 1
-